import api from '@/api/console/consoleIndex'
import { OptfastConsoleApiModel } from '@/type/console/optfastConsole';

export const getOptfastConsole = ():RES<OptfastConsoleApiModel> => api.get('/optfast/getConsole', {
  withCredentials: true
}) ;

export const updateOptfastConsole = (params:OptfastConsoleApiModel) : RES<{res:boolean}> => api.post('/optfast/updateConsole',params,{
  withCredentials: true,
})